package com.ysd.lis.request.lab;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ysd.lis.entity.lab.LabMaininfo;
import com.ysd.lis.util.compare.Compare;
import lombok.Data;

import java.sql.Timestamp;

@Data
public class LabMaininfoCreateOrUpdateDto {
    /*报告单元*/
    private String rptGroup;
    /*标本号*/
    private String sampleNo;
    @Compare("报告单元名称")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @TableField(fill = FieldFill.UPDATE)
    private Timestamp sampleda;
    /*条码号，只有扫码上机时才传此参数*/
    private String reqNo;
    /*检验主记录*/
    private LabMaininfo labMaininfo;
}
